import requests
from love.settings import key_gaode

def get_add(ip):
    url_params={'key':key_gaode,'ip':ip,}
    res=requests.get('https://restapi.amap.com/v3/ip?parameters',params=url_params)
    return res.text

